<%--
  Created by IntelliJ IDEA.
  User: Kinder2003
  Date: 2022/5/10
  Time: 22:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<center>
    <h1 align="center">欢迎您！${user.userName}</h1>
    <table  align="center" border="1" width="500">
        <%@include file="/search.jsp"%>
        <tr>
            <td><label for="function01"></label>查看店铺信息</td>
            <td><a href="${pageContext.request.contextPath}/userListServlet" name="function01"><input type="button" value="查看店铺信息"></a></td>
        </tr>
        <tr>
            <td><label for="function02"></label>查看菜品</td>
            <td><a href="${pageContext.request.contextPath}/slrServlet?function=func1&uId=${user.uId}" name="function02"><input type="button" value="增加菜品"></a></td>
        </tr>
        <tr>
            <td><label for="function03"></label>查看订单</td>
            <td><a href="${pageContext.request.contextPath}/orderServlet" name="function03"><input type="button" value="查看订单"></a></td>
        </tr>
        <tr>
            <td><label for="function04"></label>退出登录</td>
            <td><a href="logout.do" name="function04"><input type="button" value="退出登录"></a></td>
        </tr>

        </form>

    </table>
</center>
</body>
</html>
